import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import './plugins/vxeTable';
import './plugins/XEUtils';
import filter from './filter';
import component from './components/common';
import moment from 'moment';
import Storage from 'vue-ls';
import Config from '@/config/config';
import VCharts from 'v-charts';
import 'font-awesome/css/font-awesome.min.css';
import './mixins';
import Api from './api';
require('es6-promise').polyfill();
require('es6-promise/auto');


Vue.prototype.moment = moment;
Vue.prototype.config = Config;
Vue.config.productionTip = false;
Vue.use(Storage, Config.storageOptions);
Vue.use(Antd);
Vue.use(filter);
Vue.use(Api);
Vue.use(component);
Vue.use(VCharts);
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app');
